<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>


<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">专家信息</h4>
</div>

<div class="modal-body">
    <table id="table_inspectorInfo"></table>
</div>

<script>

    $('#table_inspectorInfo').bootstrapTable({
        data: ${data},
        striped: true,
        cache: false,
        sidePagination: 'client',
        searchOnEnterKey: false,
        pageSize: 10,
        pageList: [ 10, 20,50],
        pageNumber: 1,
        pagination: true,
        columns: [
            {
                formatter: function (value, row, index) {
                    return [index + 1].join('');
                }
            },
            {
                field: 'expertName',
                title: '姓名'
            },
            {
                field: 'expertIdCard',
                title: '身份证号'

            },
            {
                field: 'expertRole',
                title: '核查日期',
                formatter: function (value, row, index) {
                    if (value == 'leader') {
                        return '组长';
                    } else {
                        return '组员';
                    }
                }
            },
            {
                field: 'certificateNum',
                title: '证书编号',
            }
        ]
    });

</script>




